home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / xlib03.zip / XBMTOOLS.H < prev    next >
Text File  |  1993-04-05  |  1KB  |  42 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XPOINT - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XBMTOOLS_H_
  25. #define _XBMTOOLS_H_
  26.  
  27. #define BM_WIDTH_ERROR 1
  28.  
  29. /* FUNCTIONS =========================================================== */
  30.  
  31. extern int x_pbm_to_bm(           /* Convert from planar bitmap to linear */
  32.      char far * source_pbm,
  33.      char far * dest_bm);
  34.  
  35. extern int x_bm_to_pbm(           /* Convert from linear bitmap to planar */
  36.      char far * source_pbm,
  37.      char far * dest_bm);
  38.  
  39. #endif
  40.  
  41.  
  42.